package com.gp.model.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.FieldFill;

import java.io.Serializable;


/**
 * <p>
 * 
 * </p>
 *
 * @author 弓成龙
 * @since 2017-11-26
 */
@TableName("base_system_settings")
public class BaseSystemSettings extends Model<BaseSystemSettings> {

    private static final long serialVersionUID = 1L;

	private Long id;
	private String configName;
	private String configValue;
	private String defaultValue;
	private Date workTime;
	/**
     * 自定义填充的创建时间
     */
    @TableField(fill = FieldFill.INSERT)// 该注解插入忽略验证，自动填充
	private Date createTime;
    /**
     * 自定义填充的最后一次修改时间
     */
    @TableField(fill = FieldFill.UPDATE)// 该注解插入忽略验证，自动填充
	private Date lastModifiedTime;
    
	public Long getId() {
      return id;
    }

    public void setId(Long id) {
      this.id = id;
    }

    public String getConfigName() {
      return configName;
    }

    public void setConfigName(String configName) {
      this.configName = configName;
    }

    public String getConfigValue() {
      return configValue;
    }

    public void setConfigValue(String configValue) {
      this.configValue = configValue;
    }

    public String getDefaultValue() {
      return defaultValue;
    }

    public void setDefaultValue(String defaultValue) {
      this.defaultValue = defaultValue;
    }
 
    public Date getCreateTime() {
      return createTime;
    }

    public void setCreateTime(Date createTime) {
      this.createTime = createTime;
    }

    public Date getLastModifiedTime() {
      return lastModifiedTime;
    }

    public void setLastModifiedTime(Date lastModifiedTime) {
      this.lastModifiedTime = lastModifiedTime;
    }

    public static long getSerialversionuid() {
      return serialVersionUID;
    }

  @Override
	protected Serializable pkVal() {
		return this.id;
	}

  public Date getWorkTime() {
    return workTime;
  }

  public void setWorkTime(Date workTime) {
    this.workTime = workTime;
  }
}
